<template>
    <div class="big-item">
        <div class="search-box">
            <div class="search-card">
                <span>探索属于你的家居伴侣</span>

                <span class="search-icon iconfont icon-icon-test2"></span>


            </div>

        </div>
        <div class="content">
            <ul class="content-box">
                <li class="card">
                    <router-link class="include" :to="{path:'/item/patch', query:{id:2112}}">
                        <div class="card-img"><img src="" alt=""></div>
                        <p class="card-name">扶手椅</p>
                    </router-link>
                </li>

                <!--                //跳转全部家具列尔表-->
                <li class="card">
                    <router-link class="include" :to="{path:'/item/productList', query:{all:'全部家具'}}">
                        <div class="card-img"><img src="" alt=""></div>
                        <p class="card-name">全部家具</p>
                    </router-link>
                </li>
            </ul>

        </div>
    </div>
</template>

<script>
    import http from '../util/http'
    export default {
        name: "chunks",
        data() {
          return{

          }
        },
        created(){
            http({
                url:'/stype/selectByChoose',
                method:'post',
                params:{
                    'stypeId':2
                }
            }).then(res => {
                console.log(res);
            })
        }

    }
</script>

